<nav class="navbar navbar-expand-sm bg-egyedi">
    <div class="container-fluid">
      <a class="navbar-brand" routerLink="lista">TranzKat</a>
      <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
      </button>
      <div class="collapse navbar-collapse" id="navbarSupportedContent">
        <ul class="navbar-nav me-auto mb-2 mb-lg-0">
          
          <li class="nav-item mx-2" *ngIf="haBeVanLepve==true">
            <a class="nav-link" routerLink="alkatreszfelvetel" routerLinkActive="active" [routerLinkActiveOptions]="{exact:true}">Új alkatrész felvétele</a>
          </li>

          <li class="nav-item mx-2" *ngIf="haBeVanLepve==true">
            <a class="nav-link" routerLink="kereses" routerLinkActive="active" [routerLinkActiveOptions]="{exact:true}">Keresés</a>
          </li>

          <li class="nav-item mx-2">
            <a class="nav-link" routerLink="about" routerLinkActive="active" [routerLinkActiveOptions]="{exact:true}">Programról</a>
          </li>

          <!-- Auth -->

          <li class="nav-item mx-2" *ngIf="haBeVanLepve==true">
            <a class="nav-link kilepesgomb" (click)="kilepes()">Kilépés</a>
          </li>
          
          <li class="nav-item mx-2" *ngIf="haBeVanLepve==false">
            <a class="nav-link" routerLink="login" routerLinkActive="active" [routerLinkActiveOptions]="{exact:true}">Belépés</a>
          </li>

          <li class="nav-item mx-2" *ngIf="haBeVanLepve==false">
            <a class="nav-link" routerLink="signup" routerLinkActive="active" [routerLinkActiveOptions]="{exact:true}">Regisztráció</a>
          </li>
  
        </ul>
  
      </div>
    </div>
  </nav>
